package com.usian.behavior;

import com.usian.model.behavior.dtos.UnLikesBehaviorDto;
import com.usian.model.behavior.pojos.ApUnlikesBehavior;
import com.usian.model.common.dtos.ResponseResult;

public interface ApUnlikesBehaviorControllerApi {

    /**
     * 保存或更新阅读行为
     *
     * @return
     */
    ResponseResult unlikeBehavior(UnLikesBehaviorDto dto);

    /**
     * 根据行为实体id和文章id查询不喜欢行为
     *
     * @param entryId
     * @param articleId
     * @return
     */
    ApUnlikesBehavior findUnLikeByArticleIdAndEntryId(Integer entryId, Long articleId);
}
